<!DOCTYPE html>
<html lang="en">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Expires" content="0">
<link rel="stylesheet" href="/css/common/add2.css"/>
<link rel="stylesheet" href="/css/common/list.css"/>
<script type="text/javascript" src="${ctx}/plugin/jquery/jquery-2.1.1.js"></script>
<script type="text/javascript" src="${ctx}/plugin/jquery/jquery.form.js"></script>
<script type="text/javascript" src="${ctx}/plugin/jquery/jquery-validation/jquery.validate.min.js"></script>
<script type="text/javascript" src="${ctx}/plugin/layer-v1.9.2/layer/layer.js"></script>
<script type="text/javascript" src="${ctx}/common/common.js"></script>
<script type="text/javascript" src="${ctx}/js/project/staffing.js"></script>
<body>
<div>
    <div class="top-title">
        <span>人员调配 / Personnel Assignment</span>

    </div>
    <div class="add-main">
        <form id="form" name="form" class="form-horizontal" method="post"
              action="/projectManage/addPersonAllocation"
              enctype="multipart/form-data">
            <input id="dataUrl" value="${dataUrl}" type="hidden"/>
            <input id="personId" value="${personId}" type="hidden"/>
            <input id="personCorpId" value="${personCorpId}" type="hidden"/>
            <input id="postPropPersonIds" name="postPropPersonIds" value="" type="hidden"/>
            <section class="">
                <div class="form-layer-group clearfix">
                <#--<input  type="hidden" id="dataUrl"  value="${dataUrl}"/>-->
                    <div class="main-two">
                        <div class="form-group-div form-layer-input clearfix">
                            <label class="control-label2">工程名称：</label>
                            <select name="projectId" id="projectId" class="input-medium2 form-control m-b"
                                    onchange="getCropList(this.options[this.options.selectedIndex].value)"
                                    style="text-align: center;height: 36px;">

                            </select>

                        </div>
                        <div class="form-group-div form-layer-input clearfix">
                            <label class="control-label2">单位名称：</label>
                            <select name="corpId" id="corpId" class="input-medium2 form-control m-b"
                                    onchange="getCropPersonDetails()"
                                    style="text-align: center;height: 36px;">

                            </select>

                        </div>
                        <div style="float: left;width: 760px;height: 30px;text-align: center;padding:12px 0px;margin-right: 20px ">
                            <span id="cropPropName"></span>
                            <div>
                                <span id="cropName"></span>
                            </div>
                        </div>
                        <div id="postPerson">
                          <#--  <div class="form-group-div form-layer-input clearfix">
                                <label class="control-label2">主要负责人：</label>
                                <input name="projectCode"
                                       placeholder="请输入项目编号" maxlength="50"
                                       class="input-medium2 form-control m-b" id="projectCode"/>

                            </div>
                            <div class="form-group-div form-layer-input clearfix">
                                <label class="control-label2">项目经理：</label>
                                <select name="proTypeId" id="proTypeId" class="input-medium2 form-control m-b"
                                        style="text-align: center;height: 36px;">

                                </select>
                            </div>
                            <div class="form-group-div form-layer-input clearfix">
                                <label class="control-label2">项目总工：</label>
                                <select name="proDegreeId" id="proDegreeId" class="input-medium2 form-control m-b"
                                        style="text-align: center;height: 36px;">
                                </select>
                            </div>
                            <div class="form-group-div form-layer-input clearfix">
                                <label class="control-label2">施工队长：</label>
                                <input class="enabledtime input-medium2 form-control" name="stime" id="stime"
                                       placeholder="请输入开始时间"
                                       onfocus="WdatePicker({skin:'twoer',dateFmt:'yyyy-MM-dd HH:mm:ss',minDate:'#F{$dp.$D(\'startTime\')}'})"/>
                            </div>
                            <div class="form-group-div form-layer-input clearfix">
                                <label class="control-label2">安全员：</label>
                                <select name="epsId" class="input-medium2 form-control m-b"
                                        style="text-align: center;height: 36px">
                                    <option value="0">否</option>
                                    <option value="1">是</option>
                                </select>
                            </div>
                            <div class="form-group-div form-layer-input clearfix">
                                <label class="control-label2">技术员：</label>
                            &lt;#&ndash;<input type="text" class="input-medium2 form-control m-b" id="endTime" value=""/>&ndash;&gt;
                                <input class="enabledtime input-medium2 form-control" name="etime" id="etime"
                                       placeholder="请输入结束时间"
                                       onfocus="WdatePicker({skin:'twoer',dateFmt:'yyyy-MM-dd HH:mm:ss'})"/>
                            </div>
                        &lt;#&ndash;  <div class="form-group-div form-layer-input clearfix">
                              <label class="control-label2">创建者：</label>
                          &lt;#&ndash;<input type="text" class="input-medium2 form-control m-b" id="startTime" value=""/>&ndash;&gt;
                              <input class="enabledtime input-medium2 form-control" name="creater" id="creater"
                                     placeholder="请输入创建者" value="${personName}" disabled
                              />
                          </div>&ndash;&gt;
                            <div class="form-group-div form-layer-input clearfix">
                                <label class="control-label2">质检员：</label>
                            &lt;#&ndash;<input type="text" class="input-medium2 form-control m-b" id="endTime" value=""/>&ndash;&gt;
                                <input class="enabledtime input-medium2 form-control" name="closeTime" id="closeTime"
                                       placeholder="请输入关闭时间"
                                       onfocus="WdatePicker({skin:'twoer',dateFmt:'yyyy-MM-dd HH:mm:ss',minDate:'#F{$dp.$D(\'startTime\')}'})"/>
                            </div>-->
                        </div>
                    </div>
                    <div style="text-align: center;padding:12px 0px;margin-right: 20px " class="main-btn-div">
                        <button type="button" class="cancel btn btn-cancel">取消</button>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                        &nbsp;&nbsp;&nbsp;
                        <button type="submit" id="submitButton" class="btn btn-main">添加</button>
                    </div>
                </div>
            </section>
        </form>
    </div>
</div>
</body>
</html>
